import React from 'react';

import CommonPage from '@/components/page/CommonPage';

const daoName = 'IndiKhdjYg';
const importName = 'IndiKhdjYg';
const columns: API.Column[] = [
  {
    title: '员工号',
    width: 120,
    sorter: true,
    dataIndex: 'EMNO',
    key: 'EMNO',
    dispaly: true,
    filter: true,
    export: true,
  },
  {
    title: '员工名',
    width: 120,
    sorter: true,
    key: 'EMNM',
    dataIndex: 'EMNM',
    dispaly: true,
    filter: true,
    export: true,
  },
];
const controls: API.Control[] = [
  { name: 'EMNO', type: 'text', label: '员工号', grid: 12 / 24 },
  { name: 'EMNM', type: 'text', label: '员工名', grid: 12 / 24 },
];
const ShIndiKhjldjygdrForm: React.FC = () => {
  return (
    <CommonPage
      daoName={daoName}
      columns={columns}
      controls={controls}
      title="客户经理定级员工"
      importName={importName}
      importControls={controls}
      importMode="TruncteAfterInsert"
      importTemplateName="客户经理定级员工导入"
      keyColName={'ID'}
      initSorter={{ FieldName: 'ID', Direction: 'DESC' }}
    />
  );
};

export default ShIndiKhjldjygdrForm;
